package scau.zxck.view.node;

import javafx.scene.control.CheckBoxTreeItem;

/**
 * Created by chenyulin on 2016/11/29.
 */
public class MyCheckBoxTreeItem extends CheckBoxTreeItem {

    private int tableIndex = -1;
    private int ssmFileIndex = -1;

    public MyCheckBoxTreeItem(String value){
        super(value);
    };

    public MyCheckBoxTreeItem(String value, int tableIndex) {
        super(value);
        this.tableIndex = tableIndex;
    }

    public MyCheckBoxTreeItem(String value, int tableIndex, int ssmFileIndex) {
        super(value);
        this.tableIndex = tableIndex;
        this.ssmFileIndex = ssmFileIndex;
    }

    public int getTableIndex() {
        return tableIndex;
    }

    public int getSsmFileIndex() {
        return ssmFileIndex;
    }
}
